package net.lab1024.sa.user.module.business.points.domain.form;

import net.lab1024.sa.common.common.domain.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.lab1024.sa.common.common.swagger.ApiModelPropertyEnum;
import net.lab1024.sa.common.common.validator.enumeration.CheckEnum;
import net.lab1024.sa.user.module.business.points.constant.PointsChangeStatus;
import net.lab1024.sa.user.module.business.points.constant.PointsChangeType;

/**
 * 积分变更记录 分页查询表单
 *
 * @Author jabari
 * @Date 2023-07-12 14:28:55
 * @Copyright 51dev
 */

@Data
public class PointsChangeRecordQueryForm extends PageParam{
    @ApiModelProperty(value = "用户ID",hidden = true)
    private Long userId;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;
    @ApiModelPropertyEnum(PointsChangeStatus.class)
    @CheckEnum(message = "积分变更状态", value = PointsChangeStatus.class)
    private Integer[] changeStatus;

    @ApiModelPropertyEnum(PointsChangeType.class)
    @CheckEnum(message = "积分变更类型", value = PointsChangeType.class)
    private Integer changeType;

}